// NOTE: refactored, iteration 1

using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using newtelligence.DasBlog.Runtime;
using newtelligence.DasBlog.Web.Core;
using newtelligence.DasBlog.Web.Core.Config;
using newtelligence.DasBlog.Web.Core.Macros;

namespace newtelligence.DasBlog.Web
{
    public partial class Archives : SharedBasePage, IPageFormatInfo
    {
        protected override PlaceHolder ContentPlaceHolder
        {
            get { return contentPlaceHolder; }
        }

        #region IPageFormatInfo Members

        public Control Bodytext
        {
            get { return LoadControl(CoreControlNames.ArchivesControl); }
        }

        #endregion

        private void InitializeComponent()
        {
        }

        protected override void OnInit(EventArgs e)
        {
            InitializeComponent();
            base.OnInit(e);
        }

        protected override EntryCollection LoadEntries()
        {
            TitleOverride = "Archives";
            return new EntryCollection();
        }
    }
}